//
//  ModernLiteralsTest.h
//  test_simple_project
//
//  现代字面量语法特性测试文件
//  测试所有Objective-C现代字面量语法
//

#import <Foundation/Foundation.h>

@interface ModernLiteralsTest : NSObject

// 现代字面量语法测试方法
- (void)testStringLiterals;
- (void)testNumberLiterals;
- (void)testBooleanLiterals;
- (void)testArrayLiterals;
- (void)testDictionaryLiterals;
- (void)testSubscriptSyntax;

// 字面量转换测试
- (NSArray *)createTestArray;
- (NSDictionary *)createTestDictionary;
- (NSNumber *)createTestNumbers;

// 字面量与容器操作
- (void)demonstrateContainerOperations;
- (void)demonstrateNestedLiterals;

@end

// 常量字面量定义
FOUNDATION_EXPORT NSString * const kModernStringLiteral;
FOUNDATION_EXPORT NSNumber * const kModernNumberLiteral;
FOUNDATION_EXPORT NSArray * const kModernArrayLiteral;
FOUNDATION_EXPORT NSDictionary * const kModernDictionaryLiteral;

